package com.erp.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.erp.common.core.domain.BaseEntity;

/**
 * 销售出库对象 ERP_sales_outbound
 *
 * @author ruoyi
 * @date 2025-09-01
 */
@Data
public class ErpSalesOutbound {
    // 销售单号
    private String soNo;
    // 仓库编号
    private long warehouseId;
    // 仓库名称
    private String warehouseName;
    // 客户编号
    private long customerId;
    // 客户名称
    private String customerName;
    // 商品种类
    private long productType;
    // 商品金额
    private double productAmount;
    // 发起人
    private String initiator;
    // 发起时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    // 审核状态
    private String auditStatus;
    // 审核人
    private String approver;
    // 审核时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date approveTime;

    // 查询用字段
    private String warehouseIdOrName;
    private String customerIdOrName;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private List<Date> value1;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private List<Date> value2;
}